package org.marlin.http.server;

import org.marlin.http.http.Parameter;
import org.marlin.http.http.UriTree;
import org.marlin.http.http.UrlNotFindException;

/**
 * init version 1.5.0
 * @author Jack ZG
 * @since 1.0.0
 */
public class HttpServerUtil {
    private static final UriTree tree = new UriTree();


    public static ServerBean getHttpServer(String servletPath) throws UrlNotFindException {
        UriTree method = tree.getTree(servletPath);
        return method.getServerBean();
    }

    public static Parameter[] getParamters(String servletPath) {
        return null;
    }
}

